using System;

using Sunyi.Project.WebPoint.DataAccessController;
using Sunyi.Project.WebPoint.DataContract;

namespace Sunyi.Project.WebPoint.BusinessLogic
{
    public partial class AttachmentManager
    {
        AttachmentDaoController controller = new AttachmentDaoController();

        public Attachment Select(Guid attachmentId)
        {
            return controller.Select(attachmentId);
        }

        public void Insert(Attachment attachment)
        {
            controller.Insert(attachment);
        }

        public void Update(Attachment attachment)
        {
            controller.Update(attachment);
        }

        public void Delete(Guid id)
        {
            controller.Delete(id);
        }
    }
}
